package xwebsocket

type WebsocketHandler interface {
	OnConnected(ws *WebsocketSession) error
	OnHandleTextMessage(ws *WebsocketSession, data []byte) error
	OnHandleBinaryMessage(ws *WebsocketSession, data []byte) error
	OnClosed(ws *WebsocketSession) error
}
